<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
    <meta charset="utf-8"/>
    <title>${session.SOFT_NAME }_智能办公系统</title>
    <meta name="description" content="Dashboard"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%include("/app/resapi/style.html"){}%>
    <link rel="stylesheet" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css" type="text/css">
    <link href="/module/bootstrap-table/bootstrap-table.css" rel="stylesheet"/>
    <link rel="stylesheet" type="text/css" href="/module/jeDate/jedate.css"/>
    <style type="text/css">
        .table > tbody > tr > td {
            vertical-align: middle;
        }
    </style>
</head>
<body style="overflow-y: auto;">
<div class="page-body" style="padding: 4px 0px 0px 0px">
    <div class="main-container container-fluid">
        <div class="page-container">
            <div class="col-md-12 col-sm-12 col-xs-12" style="padding: 0px">
                <div class="tabbable">
                    <ul class="nav nav-tabs tabs-flat" id="myTab11" style="background-image: url('/gobal/img/tb_header.png'); background-size: 34px 60px;">
                        <li class="active"><a href="/app/core/hr/licence" aria-expanded="true">证照管理 </a></li>
                        <li class=""><a href="/app/core/hr/licence?view=input" aria-expanded="false">证照录入</a></li>
                        <li class=""><a href="/app/core/hr/licence?view=import" aria-expanded="false">证照导入</a></li>
                    </ul>
                    <div class="tab-content tabs-flat" style="padding: 0px;">
                        <div class="row">
                            <div class="col-md-12 col-sm-12 col-xs-12" id="licencelistdiv">
                                <div class="btn-group" id="toobar">
                                    <span style="margin-left: 10px;">证照类型:</span> <span> <select id="licenceTypeQuery" style="width: 200px; display: inline-block; border-radius: 0px;" class="form-control"></select>
										</span>
                                    <span style="margin-left: 10px;">有效日期:</span> <span> <input readonly="readonly" placeholder="有效日期" style="width: 150px; display: inline-block;" id="beginTimeQuery"
                                                                                                class="form-control">
										</span> <span style="margin-left: 10px;">-</span> <span> <input readonly="readonly" placeholder="有效日期" style="width: 150px; display: inline-block;" id="endTimeQuery" class="form-control">
										</span> <span style="margin-left: 10px;">持证者:</span> <span> <input readonly="readonly" placeholder="持证者" style="width: 150px; display: inline-block;" id="userIdQuery" opt-id="userIdQuery"
                                                                                                           class="form-control" onclick="selectHrUser(this,'false');">
										</span> <span style="margin-left: 20px"> <a href="javascript:void(0);" class="btn btn-magenta js-simple-query">${i18n('system.search')}</a>
										</span>
                                </div>
                                <table id="myTable"></table>
                            </div>
                            <div class="col-md-12 col-sm-12 col-xs-12" id="licencediv" style="display: none;">
                                <div class="row">
                                    <div class="col-md-offset-2 col-md-8 col-sm-12 col-xs-12" style="padding: 0px">
                                        <form class="form-horizontal" id="form1">
                                            <table class="table table-hover table-striped table-bordered">
                                                <tr>
                                                    <td width="20%">${i18n('system.sortNo')}：</td>
                                                    <td width="30%"><input placeholder="${i18n('system.sortNo')}" type="number" name="sortNo" id="sortNo" maxlength="50" value="" class="form-control"></td>
                                                    <td width="20%">持证人员：</td>
                                                    <td width="30%"><input placeholder="持证人员" type="text" name="userId" id="userId" readonly="readonly" opt-id="userId" class="form-control" onclick="selectHrUser(this,'false');"></td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">证照名称：</td>
                                                    <td width="30%"><input placeholder="证照名称" type="text" name="name" id="name" class="form-control" maxlength="50"></td>
                                                    <td width="20%">证照编号：</td>
                                                    <td width="30%"><input placeholder="证照编号" type="text" id="licenceCode" name="licenceCode" class="form-control" maxlength="100"></td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">生效日期：</td>
                                                    <td width="30%"><input placeholder="生效日期" type="text" name="beginTime" id="beginTime" maxlength="20" value="" class="form-control"></td>
                                                    <td width="20%">截止日期：</td>
                                                    <td width="30%"><input placeholder="截止日期" type="text" name="endTime" id="endTime" class="form-control"></td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">发证机构：</td>
                                                    <td width="30%"><input placeholder="发证机构" type="text" name="notifiedBody" id="notifiedBody" maxlength="200" value="" class="form-control"></td>
                                                    <td width="20%">证照类型：</td>
                                                    <td width="30%">
                                                        <select class="form-control js-auto-select" id="licenceType" name="licenceType" module="licenceType"></select>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">是否到期提醒：</td>
                                                    <td width="80%" colspan="3">
                                                        <div class="control-group">
                                                            <label> <input type="radio" class="colored-danger" value="0" name="reminder" checked="checked"> <span class="text">不提醒</span>
                                                            </label> <label> <input type="radio" class="colored-danger" value="1" name="reminder"> <span class="text">自动提醒</span>
                                                        </label>
                                                        </div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">提醒用户：</td>
                                                    <td width="70%" colspan="2">
                                                        <input type="text" id="sendToUser" name="sendToUser" class="form-control" readonly="readonly">
                                                    </td>
                                                    <td width="30%">
                                                        <a style="cursor: pointer;" opt-id="sendToUser" onclick="selectUser(this,'false');">${i18n('system.select')}</a>
                                                        <a style="margin-left: 10px;" onclick="clearSelect('sendToUser')">${i18n('system.clear')}</a>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">提醒方式：</td>
                                                    <td width="80%" colspan="3">
                                                        <div id="msgType" style="padding-left: 0px;"></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">相关附件：</td>
                                                    <td width="80%" colspan="3">
                                                        <div id="show_hrattach"></div>
                                                        <a class="addfile" href="javascript:void(0)">${i18n('fileupload')} <input data_value="" type="file" onchange="fileUpLoad('hr','hrattach');" hidefocus="true"
                                                                                                                                  maxlength="1" id="hrattach" name="hrattach" class="addfile" multiple="multiple"></a> <a class="addfile" style="width: 200px;" href="#" op_id="hrattach"
                                                                                                                                                                                                                          onclick="selectattach(this,'true')">${i18n('system.netFileSelect')}</a>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="4">备注</td>
                                                </tr>
                                                <tr>
                                                    <td colspan="4">
                                                        <div id="remark" name="remark" style="height: 300px"></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="4" align="center">
                                                        <a id="createbut" href="javascript:void(0);" class="btn btn-primary js-update-save">更&nbsp;&nbsp;新</a>
                                                        <a href="javascript:void(0);" class="btn btn-purple js-back-btn" style="margin-left: 20px;">返&nbsp;&nbsp;回</a>
                                                    </td>
                                                </tr>
                                            </table>
                                        </form>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div id="orgselectdiv"></div>
<div id="attachselect"></div>
</body>
<%include("/app/resapi/sysjs.html"){}%>
<script type="text/javascript" src="/module/fileupload/pageoffice.js" id="po_js_main"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.exedit.js"></script>
<script type="text/javascript" src="/module/bootstrap-table/bootstrap-table.js"></script>
<script type="text/javascript" src="/module/bootstrap-table/bootstrap-table-${localeLangCountry()}.js"></script>
<script type="text/javascript" src="/module/jeDate/jeDate.js"></script>
<script type="text/javascript" src="/module/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="/module/ueditor/ueditor.all.js"></script>
<script type="text/javascript" src="/module/ueditor/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript" src="/module/fileupload/ajaxfileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/fileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/attachselect.js"></script>
<script type="text/javascript" src="/module/hrorgselect/hrorgselect.js"></script>
<script type="text/javascript" src="/module/orgselect/orgselect.js"></script>
<script type="text/javascript" src="/gobal/js/page/hr/hrapi.js"></script>
<script type="text/javascript" src="/gobal/js/page/hr/licence/manage.js"></script>
</body>
</html>
